//
//  XJBaseRequest.h
//  XJMCustomer
//
//  Created by Mr.hu on 2017/10/9.
//  Copyright © 2017年 Mr.hu. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "BaseRequest.h"

typedef void(^requestResultBlock)(id response,NSString *errStr);

@interface XJBaseRequest : BaseRequest
{
    requestResultBlock callbackBlock;
}
-(void)startWithBlock:(requestResultBlock)block;
-(void)updateData:(NSData *)data dataName:(NSString *)dataName withBlock:(requestResultBlock)block;
-(void)updateImages:(NSArray *)images names:(NSArray *)names withBlock:(requestResultBlock)block;
-(void)updateImagesAndVoice:(NSArray *)images VoiceUrl:(NSString *)voiceUrl withBlock:(requestResultBlock)block;
@property(strong)requestResultBlock callbackBlock;

@end
